package com.itheim.manager.domin;

public class Subway {
    private String subid;
    private String subname;
    private String subline;

    public Subway() {
    }

    public Subway(String subid, String subname, String subline) {
        this.subid = subid;
        this.subname = subname;
        this.subline = subline;
    }

    public String getSubid() {
        return subid;
    }

    public void setSubid(String subid) {
        this.subid = subid;
    }

    public String getSubname() {
        return subname;
    }

    public void setSubname(String subname) {
        this.subname = subname;
    }

    public String getSubline() {
        return subline;
    }

    public void setSubline(String subline) {
        this.subline = subline;
    }

    @Override
    public String toString() {
        return " 地铁站编号："+subid+" 地铁站名称："+subname+" 所属路线："+subline;
    }
}
